module.exports = {
    presets: [
      ["@babel/preset-env", {
        "targets": {//以浏览器可以读懂的语法为标准
          "browsers": ["last 2 version"]
        }
      }]
    ]
  }